package com.synjones.zeuscloudserver.eureka;

import com.synjones.zeus.model.ExReqBean;
import com.synjones.zeus.model.ExRespBean;
import com.synjones.zeus.model.authorize.RegFactorBean;
import com.synjones.zeus.model.authorize.RegFactorReqBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import static com.synjones.zeus.model.ApiStr.CHECK_REGPOS;

/**
 * @author yys
 * Description:
 * @date created in 17:21 2018-03-15
 * Modified by:
 */
@FeignClient("EXTENDED-SERV")
public interface ZeusYktService {
    /**
     * 注册因子
     *
     * @param reqBean
     * @return
     */
    @RequestMapping(value = {CHECK_REGPOS})
    ExRespBean<RegFactorBean> regFactor(ExReqBean<RegFactorReqBean> reqBean);
}
